<%@ page import="entity.User" %>
<%@ page import="entity.Plate" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="Impl.adminDaoImpl" %>
<%@ page import="entity.Admin" %>
<%@ page import="entity.page.ListPage" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="entity.page.DetailPage" %>
<!DOCTYPE html>

<html lang="zh-CN">
<head>
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>用户首页</title>
    <!-- Bootstrap -->
</head>

<script type="text/javascript">

    $(function () {
        $.get("/showBlockAjax", {},function (data, status) {
            // console.log(data);
            $('.module').html(data);
        })
    })
</script>
<body>
<%--<div class="top-bar" style="height: 50px;width: 100%;background-color:#242729;font-size: 23px;color: white;padding-top: 5px">--%>
<%--    <span style="margin-left: 20px;">论坛首页</span>--%>
<%--</div>--%>
<%@include file="header.jsp"%>
<%request.setCharacterEncoding("utf-8");%>
<%@include file="user_menubar.jsp"%>
<div class="content-wrapper">
    <div class="main">

        <div>
            <form action="/class_design/modifyarticle.jhtml?sid=<%=request.getAttribute("sid")%>&&tid=<%=request.getAttribute("tid")%>&&author=<%=request.getAttribute("author")%>&&sname=<%=request.getAttribute("sname")%>" method="post">
                <h3>主题</h3>
                <ul>
                    <li style="border: #c5e88c solid 5px ">
                        <input type="text" value="${detailPage.title}" name="topic">
                    </li>
                </ul>
                <h3>主要内容</h3>
                <ul>
                    <li style="border: #c5e88c solid 5px;height: 300px">
                        <input type="text" value="${detailPage.contents}" name="content" STYLE="width: 100%">
                    </li>
                </ul>

                <li style="padding: 20px 100px 20px 20px"><input type="submit" value="提交" style="float: right;font-size: 20px;background-color: #b3b3b3;border-radius: 5px;width: 80px"></li>
            </form>
        </div>

    </div>
</div>
<%@include file="footer.jsp"%>
</body>
</html>